package basicenums;

/**
 * <p>Title: Builder</p>
 * Description: CS 235 Lab #3 This enum is used to illustrate the use of
 * enumerated types.
 * 
 * @author This code is from "Head First Object Oriented Design"
 * @date February 4th 2013
 */

public enum Builder {

	FENDER, MARTIN, GIBSON, COLLINGS, OLSON, RYAN, PRS, ANY;

	/**
	 * toString method is called (automatically) when an instance
	 * of Builder is "printed" or somehow converted to a String
	 */
	public String toString() {
		switch (this) {
		case FENDER:
			return "Fender";
		case MARTIN:
			return "Martin";
		case GIBSON:
			return "Gibson";
		case COLLINGS:
			return "Collings";
		case OLSON:
			return "Olson";
		case RYAN:
			return "Ryan";
		case PRS:
			return "PRS";
		default:
			return "Unspecified";
		}
	}
}
